class ReqJson {
  res(json) {
    return {
      code: 200,
      result: {
        list: json,
      },
    };
  }
  err(text: string) {
    return {
      code: 500,
      text,
    };
  }
}
export default new ReqJson();
